package bma.common.hibernate;

import bma.common.langutil.log.LogbackUtil;

public class HibernateUtil {
	public static void disableDebug(boolean all) {
		LogbackUtil.setLevel("com.mchange.v2", "INFO");		
		LogbackUtil.setLevel("net.sf.ehcache", "INFO");
		if(all) {
			LogbackUtil.setLevel("org.hibernate", "INFO");
		}
	}
}
